#!/usr/bin/env python3
# -*- coding: utf-8 -*-
'''print('The quick brown fox', 'jumps over',   '   '    , 'the lazy dog')

name = input()

print('我输入的name=',name)
print('请输入长度')
length = int(input())
print('请输入宽度')
width = int(input())
print('长方形的面积','长',length,'*宽',width ,'=',length * width)

a = 100
if a >= 0:
    print(a)
else:
    print(-a)


import function
hashMap = {'name':'小明','age':22}
hashMap2 = {'name':'小红','age':22}
print(hashMap['name']) 
print(hashMap.get('name'))
print('age' in hashMap)
print(hashMap.get('a','小红'))
s = set([1,'a','b','d','d','s','s','sc','abs',2,23,3,4,4,4,4,5])

s1 = set([7,8,5,7,8,0])
print(s1 | s);

list = '13453242345'

print(list.replace('1','000'))


print(function.my_abs_2(int(input())))
'''
import math
print('求解ax2 +bx +c = 0')
print('请输入三个参数分别对应abc')
str = input()
str = str.split()
if len(str)==3:
	if str[0] !=0 :
		value= (int(str[1]) * int(str[1])  + 4 * int(str[0]) * int(str[2])) /  (2*int(str[0]))
		print(int(str[0]),int(str[1]) ,int(str[2]) )
		print(math.sqrt(value))
	else:
		print('无解')
else:
	print('请重新输入')
